package com.yf.user;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.mybatis.spring.annotation.MapperScan;

@EnableSwagger2Doc
@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.yf.user.mapper") // mapper 接口类扫描包配置
public class UserApplication {
    public static void main(String args[]) {
        SpringApplication.run(UserApplication.class, args);
    }

}
